home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Expander / Expander Classes / CColumnizer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  1.1 KB  |  39 lines  |  [TEXT/KAHL]

  1. /***********************************************************************************
  2.     CColumnizer.h
  3.  
  4.     Copyright © 1994 B-Ray Software. All rights reserved.
  5.     Developed using Symantec C++ 7.0 and Symantec's TCL library.
  6.     Portions of this code courtesy Symantec, Inc.
  7.  
  8.     This code may be freely distributed as long as this notice remains. The code
  9.     may not be used in any commercial software without the consent of B-Ray Software.
  10.  
  11.     ---
  12.  
  13.     The CColumnizer class provides vertical position management for child panes
  14.     of a particular parent. This class simply defines 3 functions that are
  15.     pure virtual in the RowColumnMgr class. These functions work with with vertical
  16.     values, compared to the Rowizer class which works with horizontal values -- 
  17.     that is the only difference between the two.
  18.  
  19. ***********************************************************************************/
  20.  
  21. #pragma once
  22.  
  23.  
  24. #include "CRowColumnMgr.h"
  25.  
  26.  
  27. class CColumnizer : public CRowColumnMgr {
  28.  
  29. TCL_DECLARE_CLASS
  30.  
  31. protected:
  32.     virtual void    PositionChild( CPane *aPane, long index );
  33.     virtual void    AdjustDelta( Rect *delta );
  34.  
  35. public:
  36.  
  37.     virtual void    GetFamilySize( short *aWidth, short *aHeight );
  38. };
  39.